function ShowSongLists(){
    let res = {}; 
    let d = []; 
    var json = JSON.parse(fetch(MY_URL,{}));
    let cover = json.playlist.coverImgUrl;
    let info = json.playlist.description;
    let keywords = json.playlist.tags;
    let keyword = "";
    for(let tagnum = 0;tagnum<keywords.length;tagnum++){
        keyword = keyword +"  "+ keywords[tagnum];
    }
    let username = json.playlist.creator.nickname;
    let title = json.playlist.name;
    let songnum = json.playlist.trackIds.length;
    let trackids = json.playlist.trackIds;
    let detailurls = [];
    for(let i=0;i<trackids.length;i++){
        detailurls.push({
            url:"http://musicapi.leanapp.cn/song/detail?ids=" +trackids[i].id,
            options:{}
        })
    }
    var rescode = batchFetch(detailurls);
    let timestamp = new Date(json.playlist.createTime);
    d.push({
        title:title,
        img:cover,
        desc:"关键词："+keyword+"\n作者："+username+"\n状态："+getVar("isplayed2","显示歌单"),
        url:'hiker://empty@lazyRule=.js:putVar("isplayed2",getVar("isplayed2","显示歌单") == "显示歌单"?"播放歌曲":"显示歌单");refreshPage();"toast://切换成功"',
        col_type:"movie_1_left_pic"
    },{
        col_type:"line_blank"
    },{
        title:'<span style="color:#88ADA6">&emsp;&emsp;'+ info+"</span>", 
        col_type:"rich_text"
    },{
        col_type:"line"
    },{
        title:'<span style="color:#b0a4e3">&emsp;&emsp;🔴歌单一共有'+songnum+"首歌曲<br>&emsp;&emsp;🟢"+timestamp.toLocaleDateString().replace(/\//g, "-") + " " + timestamp.toTimeString().substr(0, 8)+"创建</span>", 
        col_type:"rich_text"
    },{
        col_type:"line_blank"
    },{
        title:'<span style="color:#F47983">封面&emsp;&emsp;歌曲&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;歌手&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;&emsp;时长</span>', 
        col_type:"rich_text"
    },{
        col_type:"line"
    });
    if(getVar("isplayed2","显示歌单") == "显示歌单"){
        rescode.map(res=>{
            let jsoncode = JSON.parse(res);
            let songs = jsoncode.songs[0];
            let minutes = parseInt(parseInt(songs.dt/1000)/60);
            let seconds = parseInt(songs.dt/1000)%60;
            let arnames = "";
            for(let arnum=0;arnum<songs.ar.length;arnum++){
                arnames = arnames + "|"+ songs.ar[arnum].name;
            }
            let id = songs.id;
            let mv = songs.mv;
            d.push({
                title:songs.name+"※"+arnames+"✦"+minutes+"分"+seconds+"秒",
                pic_url:songs.al.picUrl,
                url:"hiker://empty#"+id+"#"+songs.al.picUrl+"#"+arnames+"#"+songs.al.name+"#"+songs.name+"#"+mv+'@rule=js:var jsonfile = "hiker://files/netease/songdetail.js";var picfun = fetch(jsonfile);if(!picfun){picfun = fetch("https://gitee.com/mofeibai/hiker_info/raw/master/netease/songdetail.js",{});writeFile(jsonfile,picfun);}eval(picfun);ShowSongs();',
                col_type:"avatar"
            });
        });
    }else {
        rescode.map(res=>{
            let jsoncode = JSON.parse(res);
            let songs = jsoncode.songs[0];
            let minutes = parseInt(parseInt(songs.dt/1000)/60);
            let seconds = parseInt(songs.dt/1000)%60;
            let arnames = "";
            for(let arnum=0;arnum<songs.ar.length;arnum++){
                arnames = arnames + " //"+ songs.ar[arnum].name;
            }
            let id = songs.id;
            let mp3 = JSON.parse(fetch("http://www.hjmin.com/song/url?id="+id,{})).data[0].url;
            if(mp3 == null){
                mp3 = "https://music.163.com/song/media/outer/url?id="+id+".mp3";
            }
            d.push({
                title:songs.name+"※"+arnames+"✦"+minutes+"分"+seconds+"秒",
                pic_url:songs.al.picUrl,
                url:mp3,
                col_type:"avatar"
            });
        });
    }

    res.data = d; 
    setHomeResult(res);
}

